package org.sws.domain.behavior.strategy;

import org.sws.domain.behavior.event.SendRebateMessageEvent;

/**
 * @Author sws
 * @Date 2025/4/1 16:29
 * @description: 返利行为策略接口
 */
public interface RebateStrategy {
    /**
     * 记录返利流水、操作对应额度账户
     * @param rebateMessage MQ消息
     * @return 流水订单号
     */
    String handleRebate(SendRebateMessageEvent.RebateMessage rebateMessage);
}
